package com.chx.rpc05;

import com.chx.api.UserService;
import com.chx.dto.User;
import com.chx.rpc01.UserServiceImpl;

public class Client {
    public static void main(String[] args) {
        UserService stub = (UserService) Stub.getStub(UserServiceImpl.class);
        User user = stub.findUserById(1234);
        System.out.println(user);
    }
}
